package jwj8508.oop;

public class J31_RetangleService implements J31_RetangleInterface {

	@Override
	public float getArea(J31_RetangleVO rvo) {		
		return rvo.getWidth()*rvo.getHeight();
	}

	@Override
	public float getPerimeter(J31_RetangleVO rvo) {
		return 2*(rvo.getHeight()+rvo.getWidth());
	}

}
